<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>
	 上海导购网CPS联盟
</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<load href='__PUBLIC__/Css/global.css' />
<load href='__PUBLIC__/Css/base.css' />
<load href='__PUBLIC__/Css/shunion.css' />
    

</head>
<body>
<div id="wrapper">
		<div id="main">
			
<div class="fhunion_title"><h2>上海导购网CPS联盟</h2></div>   
<div class="union_nav">
    <ul>
        <li class="current"><a href="__APP__/">访问跳转接口测试</a></li>
        <li><a href="__APP__/ordertest">订单接口测试</a></li>
        <li><a href="__APP__/ordersel">订单查询测试</a></li>
        <li><a href="__APP__/postxml">推送XML测试</a></li>
    </ul>
</div>

<div class="union_main">
 <form action="" method="post">
        <table cellpadding="0" cellspacing="0">
            <tbody><tr>
                <td style="width: 137px;" align="right">
                    访问跳转接口测试地址：
                </td>
                <td>
                    <textarea cols="76" rows="5" id="url" name="url">http://www.XXX.com/?channel_id=(channel_id)&amp;u_id=(u_id)&amp;target_url=(target_url)&amp;tracking_code=(tracking_code)&amp;code=(code)&amp;shkey=(shkey)&amp;username=(username)&amp;action_time=(action_time)&amp;email=(email)&amp;show_name=(show_name)&amp;name=(name)&amp;province=(province)&amp;city=(city)&amp;area=(area)&amp;address=(address)&amp;zip=(zip)&amp;phone=(phone)&amp;mobile=(mobile)
 </textarea>
                </td>
                <td>
                    左框中的“?”号前地址为联合登陆接口地址。“?”号后参数于以下例子相同相同
                </td>
            </tr>
            <tr>
                <td align="right">
                    例子：
                </td>
                <td>
                    <code>http://www.360buy.com/?channel_id=(channel_id)&amp;u_id=(u_id)&amp;target_url=(target_url)&amp;tracking_code=(tracking_code)&amp;code=(code)&amp;shkey=(shkey)&amp;username=(username)&amp;action_time=(action_time)&amp;email=(email)&amp;show_name=(show_name)&amp;name=(name)&amp;province=(province)&amp;city=(city)&amp;area=(area)&amp;address=(address)&amp;zip=(zip)&amp;phone=(phone)&amp;mobile=(mobile)</code>
                </td>
                <td>
                    例子：http://www.360buy.com/为京东的跳转入口。"?"问号后面为公共的参数
                </td>
            </tr>
            <tr>
                <td align="right">上海导购网标识channel_id：</td>
                <td colspan="2">
                    <input name="channel_id" id="channel_id" value="{$channel_id}" size="20" maxlength="50" type="text">
                    (必填)
                </td>
            </tr>
            <tr>
                <td align="right">同步登录密钥shop_key：</td>
                <td class="tdnote" colspan="2">
                    <input name="shop_key" value="{$shop_key}" id="shop_key" size="20" maxlength="50" type="text">
                    (必填) 请联系上海导购网商务，由上海导购网商务提供
                </td>
            </tr>
            <tr>
                <td align="right">
                    用户名show_name：
                </td>
                <td class="tdnote" colspan="2">
                    <input name="show_name" id="show_name" value="{$show_name}" size="20" maxlength="20" type="text">
                    (必填)UrlEncode编码
                    需要验证中文用户名问题 显示在贵方商城前台
                </td>
            </tr>
            <tr>
                <td align="right">
                    用户名username：
                </td>
                <td class="tdnote" colspan="2">
                    <input name="username" id="username" value="{$username}" size="20" maxlength="20" type="text">
                    (必填)返回给上海导购网
                </td>
            </tr>
            <tr>
                <td align="right">
                    用户ID：
                </td>
                <td colspan="2">
                    <input name="u_id" id="u_id" value="{$u_id}" size="10" maxlength="50" type="text">
                    <span class="tdnote">(必填)</span>
                </td>
            </tr>
            <tr>
                <td align="right">最终跳转链接target_url：</td>
                <td class="tdnote" colspan="2">
                    <input name="target_url" id="target_url" value="{$target_url}" size="50" maxlength="150" type="text">
                    UrlEncode编码
                    必须可设置为空，空时记录cookie跳转到首页
                </td>
            </tr>
            <tr>
                <td align="right">
                    用户email：
                </td>
                <td colspan="2">
                    <input name="email" id="email" value="{$email}" size="50" maxlength="50" type="text">
                    (必须设置可为空)
                </td>
            </tr>
            <tr>
                <td align="right">
                    效果追踪识别码tracking_code：
                </td>
                <td colspan="2">
                    <input name="tracking_code" id="tracking_code" value="{$tracking_code}" size="20" maxlength="20" type="text">
                    (必填)一般是shunion+"_"+贵站的域名
                    回传给我们<span class="tdnote">（查询.推送）</span>
                </td>
            </tr>
            <tr>
                <td align="right">
                    姓名 name：
                </td>
                <td colspan="2">
                    <input name="name" id="name" value="{$name}" size="10" maxlength="20" type="text">
                    UrlEncode编码
                </td>
            </tr>
            <tr>
                <td align="right">
                    省：
                </td>
                <td colspan="2">
                    <input name="province" id="province" value="{$province}" size="10" maxlength="20" type="text">
                    UrlEncode编码
                </td>
            </tr>
            <tr>
                <td align="right">
                    市：
                </td>
                <td colspan="2">
                    <input name="city" id="city" value="{$city}" size="10" maxlength="20" type="text">
                    UrlEncode编码
                </td>
            </tr>
            <tr>
                <td align="right">区：</td>
                <td colspan="2">
                    <input name="area" id="area" value="{$area}" size="10" maxlength="50" type="text">
                    UrlEncode编码
                </td>
            </tr>
            <tr>
                <td align="right">详细地址：</td>
                <td colspan="2">
                    <input name="address" id="address" value="{$address}" size="50" maxlength="50" type="text">
                    UrlEncode编码
                </td>
            </tr>
            <tr>
                <td align="right">
                    邮编：
                </td>
                <td colspan="2">
                    <input name="zip" id="zip" value="{$zip}" size="6" maxlength="6" type="text">
                </td>
            </tr>
            <tr>
                <td align="right">
                    电话：
                </td>
                <td colspan="2">
                    <input name="phone" id="phone" value="{$phone}" size="20" maxlength="20" type="text">
                </td>
            </tr>
            <tr>
                <td align="right">
                    手机：
                </td>
                <td colspan="2">
                    <input name="mobile" id="mobile" value="{$mobile}" size="11" maxlength="11" type="text">
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td colspan="2">
                    <button type="submit">点击生成链接</button>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td colspan="2">
                    <textarea cols="76" rows="5" name="testUrl">{$testUrl}</textarea>
                </td>
            </tr>
        </tbody></table>
    </form>
</div>

  </div>
</div>


</body></html>